﻿namespace Magic.System;

public class FileOutput
{
    /// <summary>
    /// 后缀
    /// </summary>
    public string suffix { get; set; }
    /// <summary>
    /// 完整路径
    /// </summary>
    public string full_url { get; set; }
    /// <summary>
    /// 主题
    /// </summary>
    public string topic { get; set; }
    /// <summary>
    /// 操作员Id
    /// </summary>
    public int admin_id { get; set; }
    /// <summary>
    /// url
    /// </summary>
    public string url { get; set; }
    /// <summary>
    /// 宽度
    /// </summary>
    public int width { get; set; }
    /// <summary>
    /// 高度
    /// </summary>
    public int height { get; set; }
    /// <summary>
    /// 文件名
    /// </summary>
    public string name { get; set; }
    /// <summary>
    /// 大小 kb
    /// </summary>
    public long size { get; set; }
    /// <summary>
    /// 文件类型
    /// </summary>
    public string mimetype { get; set; }
    /// <summary>
    /// 存储类型
    /// </summary>
    public string storage { get; set; }
    /// <summary>
    /// sha1
    /// </summary>
    public string sha1 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public int id { get; set; }
    /// <summary>
    /// 更新时间
    /// </summary>
    public long lastuploadtime { get; set; } = new DateTimeOffset(DateTime.Now).ToUnixTimeMilliseconds();
}
